<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta name="referrer" content="no-referrer">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
    <title>FREE 影视</title>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.slim.min.js"></script>
    <script src="https://cdn.bootcss.com/twitter-bootstrap/4.4.1/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="https://bce.bdstatic.com/jwplayer/3.5.1/cyberplayer.js"></script>
</head>
<body>

<div>
    <div th:replace="common/header"></div>
</div>

<div class="container">
    <div class="row">
        <div class="col-sm" th:each="series: ${serieses}">
            <div class="card" style="width: 18rem;">
                <img th:src="${series.thumb}" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 th:text="${series.name}"></h5>
                    <p th:text="${series.description}"></p>
                    <a th:href="'/video/play?id='+${series.firstVideoId}" class="btn btn-primary">瞧一瞧</a>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?d529cdea3dbfbc0275c3fee2c0d8c528";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

</body>
</html>
